package events

const (
	EventsSpecVersionKey = "specversion" // 协议版本，string，required
	EventsIdKey          = "id"          // 事件 id， string, required
	EventsSourceKey      = "source"      // 事件来源，string, required
	EventsTypeKey        = "type"        // 事件类型，string, required
	EventsReasonKey      = "reason"      // 事件原因，string, required

	EventsTimeKey = "time" // 事件时间，string, optional

	EventsSpecversionV1 = "1.0-rc1"
)

const (
	// events types
	EventsTypeNodeState = "NodeState"

	// event reasons for events type of NodeState
	RunningStateChanged = "RunningStateChanged"
)
